# coding: utf-8
 

MONGO_HOST = '192.168.0.4'
MONGO_PORT = 27017
MONGO_DB_NAME = 'test'
MONGO_DB_USERNAME = 'mongouser'
MONGO_DB_PWD = 'huayuan@888' 

REDIS_IP = '192.168.0.12'#'0.2'
REDIS_PORT = 6379
REDIS_PASS = ''#''huayuan@888'

OCEAN_IP = '192.168.0.12'
OCEAN_PORT = 8178

MYSQL_HOST = '10.200.187.131'
MYSQL_PORT = 3306
MYSQL_USER = 'root'
MYSQL_DB = 'survey_custom'
MYSQL_PASS = 'huayuanmy_huamysql'



COMBINE_HOSTNAME = 'fra.fraplus.cn'
COMBINE_STAT = 'dist1.2*v2' #'newtest*v2' #'dist*v2' #'dist1.2*v2'
COMBINE_NOWXSTAT = 'v2/dist1.2' #'v2/newtest' #'v2/dist1.2'
COMBINE_NOWXLONGURL = 'http://{$hostname$}/page/{$nowxstat$}?channel={$code$}_channel&openid=null&fromid=null&code={$code$}&stat=survey&title={$url_title$}'
COMBINE_LONGURL = 'http://{$hostname$}/login/wxLogin?channel={$code$}_channel&openid=null&fromid=null&code={$code$}&stat={$stat$}&title={$url_title$}'
COMBINE_SHORTURL = 'http://{$hostname$}/route/{$code$}'
COMBINE_NOWXSHORTURL = 'http://{$hostname$}/route/{$code$}_nowx'


LOG_SERVER_IP = '192.168.0.6'
LOG_SERVER_PORT = 8086
LOG_SERVER_USER = 'influxuser'
LOG_SERVER_PWD = 'huayuan@888'
